package DesignPattern.exer.absfactory.factory;

import DesignPattern.exer.absfactory.bean.OfflineCourse;
import DesignPattern.exer.absfactory.bean.OnlineCourse;
import DesignPattern.exer.absfactory.bean.PatternOfflineCourse;
import DesignPattern.exer.absfactory.bean.PatternOnlineCourse;
import com.sun.javaws.jnl.XMLUtils;

public class PatternCourseFactory implements CourseFactory{
    @Override
    public OnlineCourse produceOnlineCourse() {
        return new PatternOnlineCourse();
    }

    @Override
    public OfflineCourse produceOfflineCourse() {
        return new PatternOfflineCourse();
    }
}
